package com.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.DiseaseBean;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author RJ
 * @date 2022/9/14 16:40
 */
@Repository
public interface IDiseaseDao extends BaseMapper<DiseaseBean> {
    DiseaseBean getDiseaseInfo(Integer diseaseId);

    IPage<DiseaseBean> cutDiseaseByItem(Page<DiseaseBean> page, @Param("name") String diseaseName,@Param("symptoms") String diseaseSymptoms);
}
